package com.ychs.entity;


import com.fasterxml.jackson.annotation.JsonIgnoreProperties;

import java.io.Serializable;

/**
 * copyright(c)2021 YYB.ALL rights Reserved
 * <p>
 * 描述:专业实体类
 *
 * @author 原玉波
 * @version 1.0
 * @date 2021/5/19
 */
@JsonIgnoreProperties(value = {"handler"})
public class Major implements Serializable {

    /**
     * 编号
     */
    private int id;
    /**
     * 姓名
     */
    private String name;
    /**
     * 编码
     */
    private int code;
    /**
     * 院系
     */
    private College college;

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public College getCollege() {
        return college;
    }

    public void setCollege(College college) {
        this.college = college;
    }
}
